#!/bin/sh

if [ "$#" -gt 0 ]; then
    exec "$@"
else
    celery -A monitor_tasks worker -P gevent -c 5 -l info
fi